package com.allwees.bs.c.module.order.dto;

import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
//@ApiModel
public class LiveOrderDTO implements Serializable {

//    @ApiModelProperty(value = "用户名字，会做遮挡处理")
    private String username;

//    @ApiModelProperty(value = "商品图片")
    private String productPhoto;

//    @ApiModelProperty(value = "下单时间")
    private Date createdAt;

    public LiveOrderDTO() {

    }

    public LiveOrderDTO(String userFirstName, String productMainPhoto, Date orderCreatedAt) {
        this.username = userFirstName;
        this.productPhoto = productMainPhoto;
        this.createdAt = orderCreatedAt;
    }
}
